package com.itheima.youdianda.service;

import com.itheima.youdianda.domain.SysMenu;
import com.itheima.youdianda.domain.SysRoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author YUAN
* @description 针对表【sys_role_menu(角色-菜单)】的数据库操作Service
* @createDate 2022-09-06 18:36:38
*/
public interface SysRoleMenuService extends IService<SysRoleMenu> {

    List<SysMenu> getRoleMenu(List<String> roleIds);

    void add(Integer id, String[] roleIds);

    void addRoleMenus(String id, List<String> menuids);
}
